import Vue from "vue";
import Router from "vue-router";

// 理货任务
import MissionTally from "@/pages/mission-tally";
import AddNewPattern from "@/pages/mission-tally/new-pattern";
// 拍照任务

// 捞单

// 管理员设置(用户)

import Login from "@/pages/user/login";

Vue.use(Router);

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'Home',
    //   component: Home,
    // },
    {
      path: "/login",
      name: "Login",
      component: Login
    },
    {
      path: "/mission-tally",
      name: "MissionTally",
      component: MissionTally
    },
    {
      path: "/new-pattery",
      name: "AddNewPattern",
      component: AddNewPattern
    }
  ]
});
